package org.example.infrastructure.converter;

import org.example.infrastructure.dataobject.OrderDO;
import org.example.domain.entity.Order;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderConverter {
    OrderConverter INSTANCE = Mappers.getMapper(OrderConverter.class);
    Order fromDO(OrderDO orderDO);
}
